/**
* 作者: liubaoyuan
* 日期: 2024-10-25 12:00:18
* 备注: 约会表现表
*/
package com.motu.monstercity.server.game.commondata.dating;

import io.vertx.core.json.JsonObject;

public class DatingShowModel {
	protected int id; // id
	protected byte type; // 约会结果 (1成功，2失败)
	protected String ploatText; // 约会对话读取dating_plot表的id ([1;2;3])

	public DatingShowModel() {
	}

	public DatingShowModel(JsonObject obj) {
		id = obj.containsKey("id") ? obj.getInteger("id") : 0;
		type = obj.containsKey("type") ? obj.getInteger("type").byteValue() : 0;
		ploatText = obj.containsKey("ploat_text") ? obj.getString("ploat_text") : "";
	}

	public int getId() {
		return id;
	}

	public byte getType() {
		return type;
	}

	public String getPloatText() {
		return ploatText;
	}

}
